package com.pzh.logistics.mbg.mapper;

import cn.hutool.db.sql.Order;
import com.pzh.logistics.mbg.model.Collection;
import com.pzh.logistics.mbg.model.TransitOrder;

import java.util.List;

public interface CollectionMapper {
    int deleteByPrimaryKey(Integer collectionId);

    int insert(Collection record);

    int insertSelective(Collection record);

    Collection selectByPrimaryKey(Integer collectionId);

    int updateByPrimaryKeySelective(Collection record);

    int updateByPrimaryKey(Collection record);

    int updateIsCollectionByOrderId(Integer orderId, Integer isCollection);

    List<Integer> selectByCourierIdAndIsCollect(Integer courierId, Integer isCollection);
}